import yagmail
def send_mail(files):
    mail=yagmail.SMTP(user="1765207501@qq.com",password="ktzkaxmbgfiibffh",host="smtp.qq.com")
    mail.send(to="1765207501@qq.com",subject="a3mall接口测试报告",contents="测试报告请查收",attachments=files)